<?php 

session_start();

if(isset($_SESSION["req_user_login"]) && $_SESSION["req_user_login"] != ''){

	 	
}else{
	$server = $_SERVER['SERVER_NAME']; 
	$endereco = $_SERVER ['REQUEST_URI'];
	$redirect_to = "http://" . $server . $endereco;
	
	//$_SESSION
	echo 'Acesso Restrito <a href="login.php?url='.$redirect_to.'">Clique aqui para Logar</a>';
	die;
}


?>